from django.contrib import admin
from django.urls import path
from .views import *

urlpatterns = [
    path('admin/', admin.site.urls),
    # path('index/<int:page>',index,name='index'),
    path('index/',index,name='index'),
    path('add_article/',add_article,name='add_article'),
    path('def_article/<int:articleid>',def_article,name='del_article'),
    path('edit_article/<int:articleid>',edit_article,name='edit_article'),
]